﻿using System;


namespace advadev.CanOpen
{

    /// <summary>
    /// Represents a synchronization object received event argument
    /// </summary>
    public class SynchronizationObjectReceivedEventArgs
    {

        /// <summary>
        /// Initializes a new instance of the
        /// SynchronizationObjectReceivedEventArgs class by the given parameter
        /// </summary>
        /// <param name="counter">
        /// Received counter
        /// </param>
        public SynchronizationObjectReceivedEventArgs(byte counter)
        {
            Counter = counter;
        }


        /// <summary>
        /// Gets the received counter
        /// </summary>
        public byte Counter
        {
            get;
            private set;
        }

    }

}
